<script setup lang="ts">
import {ref} from "vue";
import {useRoute} from "vue-router";
import Message from "@/component/Message.vue";
const route = useRoute()
// const recId = ref(null)
const recId = ref('')
recId.value=route.query.id
</script>

<template>
<div>
  我是hello
  <br>
  我接收到的参数是：{{recId}}
  <br>
  <Message pagevalue="hello"/>
<!--  <message/>-->
</div>
</template>

<style scoped>

</style>